<template>
  <div>
    <h2>我是子组件</h2>
    <hr />
    <sun v-bind="$attrs"></sun>
  </div>
</template>

<script>
import sun from "./sun.vue";
export default {
  components: {
    sun,
  },
};
</script>

<style lang="scss" scoped>
</style>